package com.panda.mall.coupon.couponInfo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.panda.mall.common.mallCoupon.dto.CouponInfoDto;
import com.panda.mall.common.mallCoupon.entity.MallCouponInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author tucy123
* @description 针对表【mall_coupon_info(优惠券信息表)】的数据库操作Mapper
* @createDate 2023-07-19 17:11:51
* @Entity com.panda.mall.coupon.couponInfo.MallCouponInfo
*/
@Mapper
public interface MallCouponInfoMapper extends BaseMapper<MallCouponInfo> {

    /**
     * 条件分页查询
     * @param page
     * @param couponInfoDto
     * @return
     */
    Page<MallCouponInfo> pageList(Page<MallCouponInfo> page, @Param("dto") CouponInfoDto couponInfoDto);
}




